package com.xquant.pricing.pricingConfig.service;


import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author ershuai.zhao
 * *
 * @Date: 24/12/2019 11:42
 * *
 * @Description:
 */
@Service("pricingConfigAuthorService")
public interface PricingConfigAuthorService {

    public String[] getSupportedProductTypes();

    public void savePricingConfig(Map map);

    public void updatePricingConfig(Map map);

    public void deletePricingConfig(Map<String, Object> params);

    public void deletePricingConfigSyncAuthor(Map<String, Object> params);

    public void savePricingConfigSyncAuthor(Map<String, Object> params);

    public PageInfo<Map> queryPricingUserAuthorByPage(Map map);

    public PageInfo<Map> queryGroupPricingConfigAuthorByPage(Map map);

    public PageInfo<Map> queryPricingConfigAuthorByPage(Map map);

    public List<Map> queryPricingConfigAuthor(Map map);

    public void savePricingConfigUserAuthor(Map map);

    public void updatePricingConfigUserAuthor(Map map);

    public void deletePricingConfigUserAuthor(Map map);

    public PageInfo<Map> queryPricingConfigUserAuthor(Map map);

    public List<Map> queryPricingConfigUserDefaultAuthor(Map map);

    public void executePricingConfigSyncAuthor(Map<String, Object> params);

    public void updateUserDefaultPricingParam(Map<String, Object> params);

    public void deleteUserPriceCfg(Map map);

    public void updateDefaultOtherAccRight(Map map);

    public void selectDefaultOtherPerm(Map map);

    public void updateUserPermByFloatConfig(Map map);

}
